import axios from 'axios';
//axios插件的配置参数  用来干嘛的？做一些初始化的配置
const AxiosIns = axios.create({
  timeout: 2000,
  //baseURL:'http://192.168.10.136:8087',
  //baseURL: 'http://118.190.205.4:8087',
  params: {}
})
//请求拦截处理 
AxiosIns.interceptors.request.use(config => {
  config.data = Object.assign({
    // "login_ip": "string",
    "operation": "string",
    "timestamp": 0,
    "version": "string"
  }, config.data)

  return config
}, error => {

})
export default AxiosIns
